crypto/internal/fips140/sha512.Digest.nx (field)
12 uses
crypto/internal/fips140/sha512 (current package)
sha512.go#L75: nx int
sha512.go#L121: d.nx = 0
sha512.go#L158: b = append(b, d.x[:d.nx]...)
sha512.go#L159: b = append(b, make([]byte, len(d.x)-d.nx)...)
sha512.go#L190: d.nx = int(d.len % chunk)
sha512.go#L240: if d.nx > 0 {
sha512.go#L241: n := copy(d.x[d.nx:], p)
sha512.go#L242: d.nx += n
sha512.go#L243: if d.nx == chunk {
sha512.go#L245: d.nx = 0
sha512.go#L255: d.nx = copy(d.x[:], p)
sha512.go#L290: if d.nx != 0 {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |